package com.dy.lock.screen.dao;

import java.util.List;

import com.dy.lock.screen.pojo.CustomerAttentionInfo;

public interface CustomerAttentionDao extends
		BaseDao<CustomerAttentionInfo, String> {

	/**
	 * 通过id查询
	 * 
	 * @param id
	 * @return
	 */
	public CustomerAttentionInfo queryByPrimaryKey(String id);

	/**
	 * 根据关注客户id或被关注客户id查询
	 * 
	 * @param attentionIdOrBeConcernId
	 * @return
	 */
	public List<String> queryByAidOrBeid(CustomerAttentionInfo attentionIdOrBeConcernId);

	/**
	 * 通过关注人id和被关注人id查询信息
	 * 
	 * @param attentionInfo
	 * @return
	 */
	public CustomerAttentionInfo queryByAidAndBeid(
			CustomerAttentionInfo attentionInfo);

}
